const calculateStat = (base, level, iv = 15, ev = 0, isHp = false) => {
    const basePart = Math.floor(((2 * base + iv + Math.floor(ev / 4)) * level) / 100);
    return isHp ? basePart + level + 10 : basePart + 5;
};